<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

    <style>
        * {
            padding: 0;
            margin: 0;
        }

        div {
            width: 200px;
            height: 200px;
            background-color: skyblue;
            position: absolute;
        }
    </style>


</head>

<body>

    <button>开始动画</button>
    
    <div></div>
    <!--   颜色   transfrom 不行 -->


    <script src="./jquery/jquery-3.6.0.min.js"></script>
    <script>
     $('button').click(function(){

        $('div').animate({
            width:500,
            height:500,
            left:200,
            top:200,
            'border-radius':'50%'
            
        },1000,'linear',function(){

        console.log('运动结束了');
        })
     })
    </script>
</body>

</html>